#include <stdio.h>
int PrintfSample()
{
    int a = 123;
    printf("define a as 123. the follow will shows the print resule with differet parameters.\n");
    printf("%%5d is ");
    printf("(%5d)\n",a);
    printf("%%-5d is "); 
    printf("(%-5d)\n",a);
    printf("%%x is ");
    printf("%x\n",a);
    return 0;
}
int main(void)
{
    PrintfSample();
    return 0;
}
